package com.cloud.api.upms.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * Author:  xuanning
 * Date:    2023/2/9 16:50
 */
@Data
@TableName("sys_dept_path")
public class SysDeptPath {

    /**
     *主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 祖先节点
     */
    private Long ancestor;

    /**
     * 后代节点
     */
    private Long descendant;
}
